OPC Studio User's Guide and Reference
ServerTimestampLocal Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.InformationModel Namespace > UABaseVariable<TValue,TAttribute> Class : ServerTimestampLocal Property
Contains the server timestamp. In local time.
Syntax
'Declaration
 
<MappingTagAttribute("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")>
<UADataAttribute(Kind=UADataMappingKind.ServerTimestampLocal, Operations=UADataMappingOperations.ReadAndSubscribe)>
Public Property ServerTimestampLocal As Date
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As Date
 
instance.ServerTimestampLocal = value
 
value = instance.ServerTimestampLocal
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[UAData(Kind=UADataMappingKind.ServerTimestampLocal, Operations=UADataMappingOperations.ReadAndSubscribe)]
public DateTime ServerTimestampLocal {get; set;}
[MappingTag("OpcLabs.EasyOpc.UA.InformationModel.VariableValue")]
[UAData(Kind=UADataMappingKind.ServerTimestampLocal, Operations=UADataMappingOperations.ReadAndSubscribe)]
public:
property DateTime ServerTimestampLocal {
   DateTime get();
   void set (    DateTime value);
}
Remarks

When writing, be aware that writing the server timestamp is not supported by some servers, including the OPC Foundation sample server.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also